package com.wyd.System.Bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;

/**
 * <p>
 * 学生信息表
 * </p>
 *
 * @author 文永达
 * @since 2020-12-05
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("STUDENTS")
@ApiModel(value="Students对象", description="学生信息表")
public class Students implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "ID", type = IdType.AUTO)
    private BigDecimal id;

    @ApiModelProperty(value = "学生学号")
    @TableField("STUDENT_ID")
    private String studentId;

    @ApiModelProperty(value = "学生姓名")
    @TableField("STUDENT_NAME")
    private String studentName;

    @ApiModelProperty(value = "学生所在班级")
    @TableField("STUDENT_CLAZZ")
    private BigDecimal studentClazz;

    @ApiModelProperty(value = "学生电话")
    @TableField("STUDENT_PHONE")
    private String studentPhone;

    @ApiModelProperty(value = "学生QQ号")
    @TableField("STUDENT_QQ")
    private String studentQq;

    @ApiModelProperty(value = "签到次数")
    @TableField("SIGN_IN_DAY")
    private BigDecimal signInDay;

    @ApiModelProperty(value = "学生性别")
    @TableField("SEX")
    private Integer Sex;

    @ApiModelProperty(value = "所在年级")
    @TableField("GRADE")
    private BigDecimal grade;

    @ApiModelProperty(value = "所属分院")
    @TableField("INSTITUTE")
    private BigDecimal institute;

    @ApiModelProperty(value = "所在专业")
    @TableField("SPECIALTY")
    private BigDecimal specialty;

    @ApiModelProperty(value = "所在年级")
    @TableField(exist = false)
    private String gradeName;

    @ApiModelProperty(value = "所属分院")
    @TableField(exist = false)
    private String instituteName;

    @ApiModelProperty(value = "所在专业")
    @TableField(exist = false)
    private String specialtyName;

    @ApiModelProperty(value = "学生所在班级")
    @TableField(exist = false)
    private String clazz;




}
